<script type="text/javascript">
	function In()
	{
		window.print() ;	
	}
</script>
 <button onClick="In()"><img title="In góp ý" alt="In góp ý" src="../../Picture/print.png" style="width:50px; height:50px; text-align:right;"/></button>
 <?php
  	$arr=gopy::GetByID($_GET['id']);
	for($i=0;$i < count($arr);$i++)
	{
  ?>
<table border="1px" cellspacing="0px" width="700px">
  <tr>
      <th>
          ID
      </th>
      <td>
          <?php echo $arr[$i]->idGopY; ?>
      </td>
  </tr>
  <tr>
      <th>
          Chủ đề
      </th>
      <td>
          <?php echo $arr[$i]->ChuDeGopY; ?>
      </td>
  </tr>
  <tr>
      <th>
          Ngày Góp Ý
      </th>
      <td>
      	 <?php echo $arr[$i]->NgayGopY; ?>
      </td>
  </tr>
  <tr>
      <th>
         <span>Nội Dung</span>
      </th>
      <td>
          <span > <?php echo $arr[$i]->NoiDungGopY; ?></span>
      </td>
  </tr>
  <tr>
      <th>
          Tên Người Góp Ý
      </th>
      <td>
         <?php echo $arr[$i]->TenKhachGopY; ?>
      </td>
  </tr>
  <tr>
      <th>
          Email
      </th>
      <td>
          <?php echo $arr[$i]->Email; ?>
      </td>
  </tr>
  <tr>
      <th>
          
      </th>
      <td>
         <a href="admin.php?obj=gopy"><input type="button" value="Hủy"/></a>
      </td>
  </tr>
  
  <?php
	}
  ?>
</table><!--end class danhmuc-->